﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DongDong.Common;

public partial class Include_SY : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Client objClient = Client.GetCurrent();
        if (objClient == null || objClient.Status == (int)Client.userstatus.未激活)
            return;

        litStatus.Text = "<em class='colf4'>【</em><a href='/GRZX/'>" + objClient.Username + "</a><em class='colf4'>】</em>或<em class='colf4'>【</em><a  href='#' id='AQTC'>安全退出</a><em class='colf4'>】</em>";

    }
    public void SetMeta(string pageTitle, string keywords, string description)
    {
        Page.Title = pageTitle;
        if (keywords == null)
            keywords = "";

        if (description == null)
            description = "";

        Misc.SetMetaValues(this.Page.Header, "Keywords", keywords);
        Misc.SetMetaValues(this.Page.Header, "Description", description);
    }
}
